package com.itsm.example.audit.service.impl;

import com.itsm.example.audit.pojo.context.AuditContext;
import com.itsm.example.statemachine.bo.ItsmContext;
import com.itsm.statemachine.Condition;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 已完成条件
 *
 * @author benym
 * @date 2024/7/19 11:45
 */
@Component
@Slf4j
public class DoneCondition implements Condition<ItsmContext> {

    @Override
    public boolean isSatisfied(ItsmContext context) {
        log.info("已完成条件");
        return true;
    }
}
